home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / Squeaky.swf / scripts / frame_160 / PlaceObject2_256_39 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2005-08-04  |  406 b   |  15 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.countdown.time == 0 and this._y < 200 and _root.oil1._currentframe == 2 and _root.oil2._currentframe == 2 and _root.oil3._currentframe == 2 and _root.oil4._currentframe == 2)
  3.    {
  4.       this._y += 4;
  5.    }
  6.    if(_root.hero.hitTest(this.ufotop) && _root.hero._y < this._y)
  7.    {
  8.       this.gotoAndStop(2);
  9.    }
  10.    else
  11.    {
  12.       this.gotoAndStop(1);
  13.    }
  14. }
  15.